Matrix representation of vectors